<template>
  <div class="no_box">
    <img class="no_img" src="@/common/assets/noright.png" alt="暂无权限" />
    <div class="no_line">
      <div class="no_line1">暂无权限</div>
      <div class="no_line2">抱歉，暂无权限，请联系管理员开通权限</div>
    </div>
  </div>
</template>
<script>
  export default {
    mounted() {},
    beforeRouteEnter(to, from, next) {
      $setStore('waiting', false)
      next()
    },
  }
</script>
<style lang="less" scoped>
  .no_box {
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    padding: 0;
    margin: 0;

    .no_img {
      width: 120px;
      height: 120px;
      margin-right: 5px;
    }

    .no_line {
      .no_line1 {
        margin-bottom: 5px;
        font-size: 20px;
      }

      .no_line2 {
        font-size: 16px;
      }
    }
  }
</style>
